<table cellpadding="5">
	<input name="id" type="hidden" value="${(roleItem.id)!}" />
	<tr>
		<td>角色编码</td>
		<td><input name="code" placeholder="请输入角色编号"
			class="easyui-validatebox textbox" data-options="required:true"
			value="${(roleItem.code)! }"></td>

	</tr>
	<tr>
		<td>角色名称</td>
		<td><input name="name" placeholder="请输入角色名称"
			class="easyui-validatebox textbox" data-options="required:true"
			value="${(roleItem.name)! }"></td>

	</tr>
	<tr>
		<td>类型</td>
		<td><@eu.comboBox url="common.do?loadComboBox&key=SYS_USER_ROLE_TYPE&value=${(roleItem.linkType)!}" name="linkType"/></td>
	</tr>
	<#if isSuperuser??&&isSuperuser==true>
	<tr>
		<td>是否超级管理员</td>
		<td>
			<#if (roleItem.superuser)??&&roleItem.superuser==true> 
			<input type="checkbox" class="span2" name="superuser" checked="checked" />
			<#else>
			<input type="checkbox" class="span2" name="superuser" />
			</#if>
		</td>
	</tr>
	<#else>
		<input type="hidden" class="span2" name="superuser" value="false"/>
	</#if>
	<tr>
		<td>是否启用</td>
		<td><#if (roleItem.enable)??&&roleItem.enable==true> <input
			type="checkbox" class="span2" name="enable" checked="checked" />
			<#else> <input type="checkbox" class="span2" name="enable" /> </#if>
		</td>
	</tr>
	<tr>
		<td>描述</td>
		<td>
			<textarea style="height: 120px; width: 550px" rows="6"
				class="easyui-validatebox" name="description">${(roleItem.description)!}</textarea>
		</td>
	</tr>
</table>
